package lab02.test11;

/**
 * Created by dell on 2017/11/11.
 */
public class Test {
    public static void main(String[] args) {
        Rectangle r=new Rectangle();
        r.getArea();
        r.getPerimeter();
        r.printMyWay();
        Square s=new Square();
        s.getArea();
        s.getLength();
        s.getDiagonal();
        s.printMyWay();
    }
}
